package com.itheima.Test;

import java.util.concurrent.CopyOnWriteArrayList;

public class AAATest005 implements Runnable {
    //定义一个数字;
    static CopyOnWriteArrayList<Integer>  list  = new CopyOnWriteArrayList<>();
    @Override
    public void run() {
        for (int i = 1; i <10000; i++) {
            list.add(i);
        }
    }
}
